package com.example.administrator.test;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

/**货车的备注页面
 */
public class NoteActivity extends AppCompatActivity {

    ImageView mNoteClose;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_note);
        mNoteClose= (ImageView) findViewById(R.id.note_close);
        //绑定货车备注界面返回键的点击事件
        mNoteClose.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();//返回上一级
            }
        });
    }
}
